home *** CD-ROM | disk | FTP | other *** search
- ***********************************************************
-
- This file contains the update notes on the textfield.gadget
-
- ***********************************************************
-
- Version 1.1
- -----------
-
- - The EDIT_Text now works in all cases. It used to only work
- on creation and get methods.
-
-
- Version 1.2
- -----------
-
- - The name is no longer editor.gadget. That name was too general,
- as Christoph Feck pointed out. The name textfield.gadget has
- been chosen as the new name since it more accurately describes
- the gadget's purpose. So that you will know how to convert, here
- is a list of files that have changed names that would affect
- development:
-
- doc/editor_gc.doc -> textfield_gc.doc
- doc/editor_gc.guide -> textfield_gc.guide
- fd/editor.fd -> textfield.fd
- gadgets/editor.gadget -> textfield.gadget
- include/gadgets/editor.h -> textfield.h
- include/pragmas/editor_pragmas.h -> textfield_pragmas.h
- include/proto/editor.h -> textfield.h
-
- Also, in your source code I think I've made it easy to change, but
- if you have problems, I'm very sorry. Here's how: use your text
- editor to replace all occurances of EDIT_ with TEXTFIELD_.
-
- - The text pen now defaults to TEXTPEN instead of SHADOWPEN.
-
- - The undo buffer is now cleared after you undo so that you don't
- accidentally undo the same thing multiple times. I should note
- that the undo function just drops the text at the current
- cursor position.
-
- - As per request of a few people, the TEXTFIELD_Down event now
- will not let the last line scroll to the top of the gadget, but
- rather it stops at the bottom, like when you cursor down.
-
- - There is no highlight or block mode anymore in the old sense
- of turning it on and off. You only need to click and drag
- to highlight text. Hitting any key replaces the highlighted
- text like normal, and hitting backspace or delete removes the
- highlighted text like normal. The cut, copy, and paste keys
- also work normally. The new features are that the right and
- down cursor keys unhighlight the text and take you to the
- end of the highlighted text. And the left and up cursor keys
- unhighlight the text and take you to the front of the
- highlighted text. (This new method can make scrolling with with
- the mouse pointer unfriendly, and you can accidentally delete
- text after scrolling by hitting a single key, but if an undo IFF
- stream is provided then the user can get the text back. I have
- asked many people whether they prefer single or double-click
- block modes and it has been about 50-50. This method conforms
- to modern thinking, from what I understand.)
-
- - A memory leak that occurred if the library was expunged has
- been fixed. It was usually about 4k.
-
- - TEXTFIELD_CursorPos now will scroll the text to the position the
- cursor is set to if needed.
-